<div class="breadcrum">
    <p>
        <a href="#">Inventarisasi</a>
        <span></span><a href="{$config->site_url('inventarisasi/service')}">Service</a>
        <span></span><small>Hapus Data</small>
    </p>
    <div class="clear"></div>
</div>  
<div class="sub-content">  
    <div class="navigation">  
        <div class="navigation-button">
            <ul>
                <li><a href="{$config->site_url('inventarisasi/service/add')}"><img alt="" src="{$BASEURL}/resource/doc/images/icon/add-icon.png">Tambah Data</a></li>
                <li><a href="{$config->site_url('inventarisasi/service')}"><img alt="" src="{$BASEURL}/resource/doc/images/icon/icon.notes.blue.png">Daftar Data</a></li> 
            </ul>
            <div class="clear"></div>
        </div>
    </div> 
    <!-- notification template -->
    {include file="base/templates/notification.html"}
    <!-- end of notification template--> 
    <form action="{$config->site_url('inventarisasi/service/delete_process')}" method="post">
        <input type="hidden" name="services_id" value="{$result.services_id|default:''}" />
        <input type="hidden" name="services_file" value="{$result.services_file|default:''}" />
        <table width="100%" class="table-input">
            <tbody>
                <tr class="headrow">
                    <th colspan="2">Hapus Service</th>
                </tr>
                <tr>
                    <td width="15%">No. Inventaris</td>
                    <td width="85%">{$result.barang_noinventaris|default:''}</td>  
                </tr>
                <tr>
                    <td width="15%">Nama Barang</td>
                    <td width="85%">{$result.barang_nama|default:''}</td>  
                </tr>
                <tr>
                    <td width="15%">Deskripsi</td>
                    <td width="85%">{$result.services_desc|default:''}</td>  
                </tr>
                <tr>
                    <td>Tanggal Mulai</td>
                    <td>{$dtm->get_full_date($result.services_tgl)|default:''}</td>  
                </tr> 
                <tr>
                    <td>Tanggal Selesai</td>
                    <td>{$dtm->get_full_date($result.services_tglselesai)|default:''}</td>  
                </tr>  
                <tr>
                    <td>Biaya Sparepart</td>
                    <td>{$result.services_parts|number_format:0:',':'.'|default:''}</td>
                </tr>
                <tr>
                    <td>Biaya Service</td>
                    <td>{$result.services_biaya|number_format:0:',':'.'|default:''}</td>
                </tr>
                {if $result.services_file neq ''}
                <tr>
                    <td>File</td>
                    <td><a href="{$result.services_file}" title="download-file" target="_blank">
                        <img src="{$BASEURL}resource/doc/images/icon/icon-1.png" /></a></td>  
                </tr> 
                {/if}
                <tr>
                    <td>Keterangan</td>
                    <td>{$result.services_keterangan|default:''}</td>  
                </tr>
                <tr>
                    <td>Status</td>
                    <td>{if {$result.services_status|default:''} eq 'belum'}Belum Selesai{else}Selesai{/if}</td>
                </tr>
                <tr class="submit-box">
                    <td colspan="4">
                        <input type="submit" class="edit-button" value="Hapus" name="save[insert]">
                    </td>
                </tr>
            </tbody>
        </table>
    </form> 
</div>